package cn.com.yiqi.wsc.dao.lottery;

import cn.com.artemis.framework.base.commons.persistence.CrudDao;
import cn.com.yiqi.wsc.dao.lottery.criteria.LotteryActivityCriteria;
import cn.com.yiqi.wsc.entity.lottery.LotteryActivity;
import cn.com.yiqi.wsc.entity.lottery.LotteryActivityDTO;
import cn.com.yiqi.wsc.entity.lottery.LotteryItemsDTO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 何刚
 * @version V1.0
 * @Title: LotteryActivityDao
 * @Package cn.com.yiqi.wsc.dao.lottery
 * @Description: TODO
 * Copyright: Copyright (c) 2016
 * Company: 成都壹柒互动科技有限公司
 * @date 2017/3/21
 */
@Repository
public interface LotteryActivityDao extends CrudDao<LotteryActivity> {

    /**
     * 分页查询
     *
     * @param criteria
     * @return
     */
    List<LotteryActivity> pageList(LotteryActivityCriteria criteria);

    /**
     * 详情
     *
     * @param criteria
     * @return
     */
    LotteryActivityDTO detail(LotteryActivityCriteria criteria);
}
